﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using TineMCE.NET.TinyMceCode;

namespace TineMCE.NET
{
    public partial class _Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            this.TinyMCECommitButton.OnClientClick = "tinyMCE.triggerSave(false, true);";
            string tinyJS = CommonHelper.GetTinyMceJS(ResolveUrl("~"), this.TinyMCETextBox.ClientID, 400, 400, true);
            this.TinyMCEJS.Text = tinyJS;
        }
    }
}